/**
 * 
 */
console.log(resData);
window.onload = function (){
	setList('', choice_day);
}

//用户选择哪天的记录
$('.tag_choice_day').on('click', '', function (){
	$('.tag_choice_item').show();
})
$('.tag_choice_close').on('click', '', function (){
	$('.tag_choice_item').hide();
})

// 查看哪个时间段的投注订单
var choice_day = 'today';
$('.tag_choice_item_li li').on('click', '', function (){
	var check = $(this).index();
	if(check == '0'){
		choice_day = 'today';
		$('.tag_choice_day').html('今天');
	}else if (check == '2'){
		choice_day = 'yesterday';
		$('.tag_choice_day').html('昨天');
	}else if (check == '4'){
		choice_day = '7day';
		$('.tag_choice_day').html('七天');
	}
	setList('', choice_day);
	$('.tag_choice_item').hide();
	// 重新初始化选项卡样式
	$('.tag_item').removeClass('on');
	$('.hd ul').children(':first').addClass('on');
})
